//
//  MeButton.m
//  DSSH
//
//  Created by lcy on 16/3/29.
//  Copyright © 2016年 lcy. All rights reserved.
//

#import "MeButton.h"

@implementation MeButton
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        _numLabel = [[UILabel alloc]init];
        _numLabel.frame = CGRectMake(40*WIDTH_SCALE, 2*HIGHT_SCALE, 40*WIDTH_SCALE, 20*HIGHT_SCALE);
        _numLabel.font = FONT(13);
        _numLabel.textColor = [UIColor whiteColor];
        _numLabel.textAlignment = NSTextAlignmentCenter;
        [self addSubview:_numLabel];
        _describeLabel = [[UILabel alloc]init];
        _describeLabel.frame = CGRectMake(40*WIDTH_SCALE, 22*HIGHT_SCALE, 40*WIDTH_SCALE, 20*HIGHT_SCALE);
        _describeLabel.font = FONT(13);
        _describeLabel.textColor = [UIColor whiteColor];
        _describeLabel.textAlignment = NSTextAlignmentCenter;
        [self addSubview:_describeLabel];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
